﻿<UserControl xmlns:my2="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"  xmlns:my1="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"  xmlns:my="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"  x:Class="SharepointUpload.EditItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:app="clr-namespace:SharepointUpload"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <UserControl.Resources>
        <Storyboard x:Name="FadeIn">
            <DoubleAnimation
                Duration="00:00:02"
                From="0.00"
                To="1.00"
                Storyboard.TargetName="contentFields"
                Storyboard.TargetProperty="Opacity"/>
        </Storyboard>
        <Storyboard x:Name="FadeOut">
            <DoubleAnimation
                Duration="00:00:01"
                From="1.00"
                To="0.00"
                Storyboard.TargetName="contentFields"
                Storyboard.TargetProperty="Opacity"/>
        </Storyboard>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Width="auto" Background="WhiteSmoke" HorizontalAlignment="Stretch" DataContext="{Binding Source={StaticResource getListsByWebResponseDataSource}}">
        <Grid.RowDefinitions>
            <RowDefinition Height="55"/>
            <RowDefinition Height="24"/>
            <RowDefinition x:Name="listItemRow" Height="0"/>
            <RowDefinition x:Name="itemActionRow"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition Width="auto"/>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <my:Label Grid.ColumnSpan="6" Foreground="white" Grid.Row="0" FontFamily="Arial" FontSize="32" HorizontalAlignment="Right" Padding="10" Content="Breeze Editor">
            <my:Label.Effect>
                <DropShadowEffect ShadowDepth="2" Opacity="1" />
            </my:Label.Effect>
        </my:Label>
        <my2:GridSplitter Width="4" Grid.Column="1" Grid.RowSpan="4"></my2:GridSplitter>
        <ComboBox Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="4" Height="23" HorizontalAlignment="Stretch" x:Name="selectListBox" VerticalAlignment="Top" ItemsSource="{Binding Mode=OneWay}" Tag="Library" />
        <my1:DataGrid Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="4" x:Name="listItemsGrid"></my1:DataGrid>
        <my:Label x:Name="statusLbl" FontSize="22" Grid.Row="5" Grid.ColumnSpan="2" Grid.Column="2" Visibility="Collapsed" FontWeight="Bold" HorizontalAlignment="Center">
            <my:Label.Effect>
                <DropShadowEffect/>
            </my:Label.Effect>
        </my:Label>
    </Grid>
</UserControl>
